package com.baking.model;

import com.baking.util.BaseModel;

import java.math.BigDecimal;

/**
 * @Author:wrb
 * @Date :2020/1/13/22:50
 * @Describtion:
 **/
public class Order extends BaseModel {
    private Integer orderId;
    private Integer productId;
    private String bookingId;
    private String phone;
    private String productName;
    private String address;
    private Integer num;
    private BigDecimal amount;

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getBookingId() {
        return bookingId;
    }

    public void setBookingId(String bookingId) {
        this.bookingId = bookingId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", productId=" + productId +
                ", bookingId='" + bookingId + '\'' +
                ", phone='" + phone + '\'' +
                ", productName='" + productName + '\'' +
                ", address='" + address + '\'' +
                ", num=" + num +
                ", amount=" + amount +
                '}';
    }
}
